<template>
	<u-mask class="u-flex u-row-center" :show="true" @click="changeMaskStatus">
		<!-- TODO 二维码组件，点击保存二维码功能 -->
		<view class="content">
			<view class="u-flex u-m-35">
				<view>
					<u-image src="/static/extra/avatar.png" width="82" height="82" :fade="false" border-radius="10"></u-image>
				</view>
				<view class="u-m-l-20 u-line-1">简单</view>
			</view>
			<view class="u-flex u-row-center">
				<u-image class="u-p-5 border-dashed" src="/static/extra/qr_code.png" width="236" height="236" :fade="false" border-radius="10"></u-image>
			</view>
		</view>
	</u-mask>
</template>

<script>
	export default {
		name:"qr-code",
		data() {
			return {}
		},
		methods: {
			changeMaskStatus() {
				this.$emit('update:show', false)
			}
		}
	}
</script>

<style lang="scss">
	.content {
		background-color: $uni-bg-color;
		width: 468rpx;
		height: 468rpx;
		border-radius: 16rpx;
	}
	.border-dashed {
		border: 1rpx dashed #999999;
	}
</style>
